//
//  IWStatus.h
//  ItcastWeibo
//
//  Created by apple on 14-5-8.
//  Copyright (c) 2014年 itcast. All rights reserved.
//  微博模型(一个IWStatus对象就代表一条微博)

#import <Foundation/Foundation.h>
@class User, TextType, Visible, PageInfo, PicInfo;

typedef NS_ENUM(NSUInteger, SouceType) {
    SouceTypeNone = 0,
    SouceTypeVideo = 1
};

@interface Status : NSObject
/** 微博的内容(文字)*/
@property (strong, nonatomic) TextType *textType;
@property (copy, nonatomic) NSString *text;
/***  微博的来源*/
@property (nonatomic, copy) NSString *source;
/***  微博的时间*/
@property (nonatomic, copy) NSString *created_at;
@property (copy, nonatomic) NSString *created_at2;
@property (copy, nonatomic) NSString *avatar_hd;
/***  微博的ID*/
@property (nonatomic, copy) NSString *idstr;


/***  微博的配图(数组中装模型:IWPhoto)*/
@property (nonatomic, strong) NSArray *pic_urls;
@property (strong, nonatomic) NSArray *pic_ids;
@property (strong, nonatomic) NSArray *pics;
@property (nonatomic, strong) NSDictionary<NSString *, PicInfo *> *pic_infos;
/***  微博的单张配图*/
@property (nonatomic, copy) NSString *thumbnail_pic;
@property (copy, nonatomic) NSString *bmiddle_pic;
@property (copy, nonatomic) NSString *original_pic;
/***  微博的转发数*/
@property (nonatomic, assign) int reposts_count;
/***  微博的评论数*/
@property (nonatomic, assign) int comments_count;
/***  微博的表态数(被赞数)*/
@property (nonatomic, assign) int attitudes_count;

/***  微博的作者*/
@property (nonatomic, strong) User *user;
/***  被转发的微博*/
@property (nonatomic, strong) Status *retweeted_status;

@property (assign, nonatomic) BOOL source_allowclick;

@property (assign, nonatomic) SouceType source_type;

@property (strong, nonatomic) NSArray *url_struct;
@property (strong, nonatomic) NSArray *topic_struct;

@property (strong, nonatomic) PageInfo *page_info;

@property (assign, nonatomic) BOOL favorited;
@property (assign, nonatomic) BOOL truncated;
@property (copy, nonatomic) NSString *in_reply_to_status_id;
@property (copy, nonatomic) NSString *in_reply_to_user_id;
@property (copy, nonatomic) NSString *in_reply_to_screen_name;
@property (assign, nonatomic) BOOL isLongText;
@property (assign, nonatomic) NSInteger mlevel;
@property (strong, nonatomic) Visible *visible;
@property (copy, nonatomic) NSString *biz_feature;
@property (strong, nonatomic) NSArray *darwin_tags;
@property (strong, nonatomic) NSArray *hot_weibo_tags;
@property (copy, nonatomic) NSString *text_tag_tips;
@property (copy, nonatomic) NSString *rid;
@property (assign, nonatomic) NSInteger userType;
@property (assign, nonatomic) NSInteger positive_recom_flag;
@property (copy, nonatomic) NSString *mblogid;
@property (copy, nonatomic) NSString *scheme;
@property (copy, nonatomic) NSString *mblogtypename;
@property (copy, nonatomic) NSString *attitudes_status;
@property (copy, nonatomic) NSString *recom_state;
@property (copy, nonatomic) NSString *is_disable_highlight;
@property (copy, nonatomic) NSString *is_controlled_by_server;
@property (copy, nonatomic) NSString *timestamp_text;
@property (assign, nonatomic) NSInteger expire_after;


@end
